Fix [ usage for object instead of {