Fix hal embedded