fixes https://code.google.com/p/dragonfly/issues/detail?id=13