[profile] fix issue with sequans environment detection
[profile] misc bug fix & changes