bugfix publish to unexisting revision, added methods to the facade