improved log output in case of a exception
improved reflection call