A dirty but some time necesary hack...