enabled error messages, started working on checkmate bug