fixed illegal instruction error