[Fix] - Fixed if closure