set default value for query attribute
set default value for query attribute