exception syntax fixes