fixing all implementation api in routes