fixed an issue with setting monster