Remove duplicated steps