fixed public/private issue