fixing issue with defaults