fixed some invalidate performance issues;