Ensure profile path is properly constructed.