More fixes for pylems & jlems