Fixed problem with performance.