colorin: catch different cases of nan.

now xyz input profiles are supported again :)