fix for

https://github.com/opencart/opencart/issues/997