Working on -n less than zero bug