fixed a bug, now the data returned will be matching the keys passed