fixing some repository issues