fix type of size