Fixed key value always being null