added comment to clarify the reason for the =='default' check