Revert "fixing variable type"

This reverts commit ee5fa0cc1e1cfab476a9a749fd227a3c29819b79.
Revert "validations of the fields"

This reverts commit 3f3cb5f6580e848369b69701c994121838cccd04.