code beautification

added some missing semicolons and equal signs