Fixed a bug in 'with'