better error output on SET