don't display entries twice when refreshing during loading (fix #473)
code formatting