hot fix to require fs