fixing route trigger