cleanup binary and loading