fixed unsigned error