fixing error in external page