bug fixes for Prestashop 1.5.x