One-line fix in getprofile cmd..