removing has command