change "ref-data" to "locals"