fixed typo
fixed curItems check