clearCache and bug fixed