some fixes && new tiles format