fixing form dependencies