Fix for expression console in windows