fixing strict error