so the problem lies with redraw box plot function