quadratic bug fixes and speed cheating