fixed server crashing due to empty entry