fixed code for relatives create page