bugfix lame python behavior