fixes mistypes