corrected changed variable