multi instance bug corrected