bug in suffix generation fixed