Fix for hiding DOS warning