minor update for better performance on Linux.