single page app FAIL fixed