bug fix for corrected prevclose