fix type in resources