build ui files at runtime
fix pep8 warning