fix `history` about relative path