fixed profile loading error