set proper height