remove unnecessory statement