fixes needed for pub