clean up binary and imports