Fix direct URL loading