refactor Tile, delete blank lines