remove some begin + define