Fixed minor parameter declaration mistakes