Fix bug in metadata activity