fix form errors for symfony 2.5
Merge pull request #316 from Kunstmaan/fix_form_errors

fix form errors for symfony 2.5