fixed crashes
added custom route implementation
fixed 404 crash