fixing checks