fixed hinting erros