fix to dealer class