fixed some warnings (semi-colons missing)