fix for duplicate row names error