refine to strict mode