restored width and length to local var. fixed report status to use currentWidth instead of i