Bug fix

Getattr is not available for dictionary