Fix error in error reporting
added branch config