[FIX] Transform input arguments into valid type