add missing semicolons function declarations