fixes for regforms 0.5.1