correct bug in writing static instead of host routes