Fixed misssin ( on 'if' condition