fixing a typer bug