fix a few things to get it publishing