Fix object literal not correct issue