flatted all html to app/