fixed issue with wrong items number