fix ui compilation script