missing py code fix