fix for possible nil comparison with number