fix a bug==>we should define height in MainActivity