correctly corrected for bug now