add strictmode support