fix errors when passing null
fix errors when passing null

DegradationOfMankind/forkcms,riadvice/forkcms,tommyvdv/forkcms,DegradationOfMankind/forkcms,riadvice/forkcms,jessedobbelaere/forkcms,jonasdekeukelaere/forkcms,Katrienvh/forkcms,jacob-v-dam/forkcms,jonasdekeukelaere/forkcms,mathiashelin/forkcms,sumocoders/forkcms,bartdc/forkcms,jonasdekeukelaere/forkcms,bartdc/forkcms,jeroendesloovere/forkcms,mathiashelin/forkcms,forkcms/forkcms,bartdc/forkcms,jonasdekeukelaere/forkcms,jonasdekeukelaere/forkcms,jacob-v-dam/forkcms,Katrienvh/forkcms,jacob-v-dam/forkcms,carakas/forkcms,jessedobbelaere/forkcms,sumocoders/forkcms,jeroendesloovere/forkcms,mathiashelin/forkcms,jeroendesloovere/forkcms,tommyvdv/forkcms,jacob-v-dam/forkcms,carakas/forkcms,sumocoders/forkcms,DegradationOfMankind/forkcms,jessedobbelaere/forkcms,sumocoders/forkcms,riadvice/forkcms,tommyvdv/forkcms,forkcms/forkcms,carakas/forkcms,carakas/forkcms,riadvice/forkcms,justcarakas/forkcms,tommyvdv/forkcms,Katrienvh/forkcms,sumocoders/forkcms,mathiashelin/forkcms,carakas/forkcms,Katrienvh/forkcms,forkcms/forkcms,DegradationOfMankind/forkcms,forkcms/forkcms,justcarakas/forkcms,jeroendesloovere/forkcms,justcarakas/forkcms,jessedobbelaere/forkcms