Missing semicolon, remove not used variable

Just those two small fixes