repository: fix fs usage