fix in method visibility