fixed problem reported by landscape.io.