fixed mysql strict error