fix type mistake