fixed removal of temporary variables in e