Fixed runtime error on line 5