fixed 1st pass error