cleaning up frontend url