nan and negative check