* new get_visibility_MT function
* fixed get_visibility function