Fix stupid math