debugging entity loading