Fixed a issue in EMPEffect as well as #1 on Github