termination problem solved