fixed a private/public problem