Fixed silly error in convert