small fix to rectifier