Ensure the profile name is set (even if to null) for all commands