FIX : fix bug in onlysquarevisitor