fixed some repository issues