minor bug fix and updates to gitignore and apigen files