add missing semicolon before exit 1