removing record class from db api