fixed input = 0 not working