Fixed the snippet 'ifelseif'