remove unnecessary garbage collect for better performance