FIXED A BUG THAT WAS BUGGING ME (no pun intended)