shorten pages routes & fix whitespace errors