trying to fix variable height problem