Fixed some type mismatch and path spelling.