Fix linting warnings

Fixed a couple of syntax warnings