fix repos controller