fixed a update width/height and got rid of hide()