corrected a long standing issue with an incorrect patch