fix for initializing a route without locking