Removed trailing ; in if