certificates fix