Small bug on the getDefaults() call solved