changed required height, fixed a bug