fix firstof, detect zero numbers as false