fixed latest version bug