added a syntax error when parent is used with arguments