fixed changing squares values