fixed tile bug