diff --git a/Form/Type/AvatarUploadType.php b/Form/Type/AvatarUploadType.php
index <HASH>..<HASH> 100755
--- a/Form/Type/AvatarUploadType.php
+++ b/Form/Type/AvatarUploadType.php
@@ -5,6 +5,7 @@ namespace CampaignChain\CoreBundle\Form\Type;
 
 
 use Symfony\Component\Form\AbstractType;
+use Symfony\Component\Form\Extension\Core\Type\TextType;
 use Symfony\Component\Form\FormBuilderInterface;
 use Symfony\Component\OptionsResolver\OptionsResolver;
 
@@ -17,6 +18,6 @@ class AvatarUploadType extends AbstractType
 
     public function getParent()
     {
-        return "text";
+        return TextType::class;
     }
 }
\ No newline at end of file
diff --git a/Form/Type/DateTimePickerType.php b/Form/Type/DateTimePickerType.php
index <HASH>..<HASH> 100755
--- a/Form/Type/DateTimePickerType.php
+++ b/Form/Type/DateTimePickerType.php
@@ -84,7 +84,7 @@ class DateTimePickerType extends AbstractType
 
     public function getParent()
     {
-        return 'collot_datetime';
+        return \SC\DatetimepickerBundle\Form\Type\DatetimeType::class;
     }
 
     public function getBlockPrefix()
CampaignChain/campaignchain#<I> Upgrade to Symfony 3.x