fixed duplicate tile issue