modify tab choose implementation
remove .metadata