[Issue #149] Fixing broken profiles command