Solved a performance issue.