fixed anomaly in testing and behaviour of items