fix function args cause strict errors