bug fix for profile images