Fix errors flagged by landscape.io