fixed code and specs for multi params keys