use strict and fix strick issues