enable strict and fix