fixing some of the rules checks