Fixed errors introduced in 664855b74e1f417384dc7aef35a3df5f86db52d6