getById service fix