remove pointless negative value check