fix plethora of sign errors