Use strict
Remove duplicate default options
Fix some syntaxt