fb routes generating only when required