move defaults outside of publish