fixing error not  reported