threads communication problem exists