fix function.name missing in ie