fix #81 critical error with defaults method