fixed deepextend when types mismatch