fixed bug in default_gender_image function