fixed bug on line 59