negative numbers bug fixed