Register Api Fix