reduce asynchronous call
add missing semicolons