fix https://bugs.launchpad.net/horizon/+bug/1125622