move options defaulter to core