Fixed bug that did not check square availability