make clientscript compat with parent