don't assign ruby 2.0 key arguments if they are nil