fix the DTO objects in API module