Compatibility with idea 13

Hello,

Just made a couple of updates related to idea 13

Thanks,

Dmitry