removed can share if condition