Static file dir bugfix.