check for same cmd added