minor changes to rigtform