fix runtime parameters passing