fixed nasty {} induced bug