fix strictmode issue