Fix memory leak
Bug fix: only one component fix each iteration in joint decon
Fix minor memory leak