remove unnecessary parameter from function detailsRequired in panel script