Corrected getting platform information.