permission metadata fixed