removing warning if display option is not set