Bug fix for entering zeroes