getting the program id in the correct way