corrections to em2py