fix repository metadata