account repository fixes