fixed multiplication of error container