make parameter passing to forms work