add width and height - fix some bug