Fixed three warnings reported by Jenkins