fix for strange filenotfound errors