fix remove order issue and db alter script