Fix _query images error when ask for file list, datetime display issue and read system env