FIxed sign bugs