fixed filesystem. first working version by now