fix function export
extract toggle_visible
format