optimize bootstprap routes