change app id to string type