fixed deriveFromObject