remove data directory
python3 compat fix