fixed load errors, navbar working correctly