fixed bug i printing values