fix problems in jago program translator