fixed error on q 2