fix empty file exception on first build, just added default name and score