bugfixes; added getProfile again