fixed issue reported by Hugh