spacing fix. use math.max over if < 0