fix and manage parameter's type