fix issue where #! wouldn't redirect to root