fixed python 'internal' input