solve null on assign boolean transformation