sample design resize bugfix