Fixed issue #22

This is a fix for issue #22 , this works locally for me on IDEA 14 EAP.