fix for testing, create data dir if it doesnt exist