remove primitive