bug fix hidden python code