stockcheck syntax fix