bugfix test datat directory