fix empty warning