fix bug on repository