fix drawOption and vmax