Fixed a bug in process profiles