ha-manager: error fixes and small additions