fixed routing errors and styling