Added more logging for profile issue