leform some fixes