fixed issue with calling publish.
tabs and spacing.