Remove trailing / from URLs
Fix register bundle defaults