format code
Fixed the bug of newly create objects metadata not being displayed