Deployment script and constructor argument, The code did compile successfully but throws an error when I am trying to deploy