Added debug to checkplatform