updated bug end of trial version != 0 to >= 0.