fixed sonar

Change-Id: I1b6683a3ceb8ed668469f63eed2c530c3b9b761f
Signed-off-by: David Goldberg <david.goldberg@contextream.com>