fixed formatting errors
fixed routes with scope