wrote 'error' in comment instead of 'err'