Move error check