fixing error2