fix for

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