fixed bad programmers bugs