. more consistent typecasting behaviour when encountering nil