bugfix + updated example project