use python2.x `exec` instead of 3.x