remove unneeded directory
fix raise to be python3-compatible