square check fixed