Fix for notice about undefined index 'default'