fix file rename bug and up version