fixed: wrong visible condition