fixed minlevel for grinding, couple of other fixes