fix for fileupload losing location to upload files, fix for non admin navabar not working