partial fix for profile. #15