further bug fixing with double procs, should be ok now