fixes buley/Publish#23