correct type mistake