Changed hard-coded value

Sorry missed a hard coded value i input for testing debugging purposed.
Have removed hard coded value and used appropriate variable