improving code readabilty
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>