errorfix: defined fs