fix type given