optimise lock-end publishing