handle some corner cases when the instance is not fully initialized