fix search path in rowcount