cmix

fixed profile.c for subcommands