Fixed possible visibility problem