fixing admin-panel route issue