fixing strict errors