precompile local for Flat UI