fixes broken 'in' handling