Add missing semicolon in examples
Fix params order in examples