[DEBUG] correct the 'visibility=[...]' parsing logics