fix semicolon in if statement

Signed-off-by: Govindarajulu Varadarajan <govindarajulu90@gmail.com>