remove the redundant part