Fixed errors related to parameter fetching