fixing height on pain selection