fix tilelayer