Fixed check errors