singlePageApp POST fix