solved "gender cannot be null" temporarly