Fixed pub/private bug