hot fixed newpost.html, fixed method error