Correting type mistake