Fixed one issue in the NaoPlatform class