prevent clicking same square