fix wrong config.dir_static property