fix output resize