fixed most custom routes