fixed value error

it all runs smooth now