fix loop height