set sag width and height via json