Remove GetAPBuildingInfo's bug about null input