moved initialization of list after if condition
Merge branch 'master' of https://github.com/digitalabs/IBPMiddleware