remove unused didLoad variable