fixed a bug about tar file path