Minor fixes

semicolons, correct data type, etc.
fixes

done