fixing assignments