Fixed bad check